// { "framework": "Vue"} 

/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, {
/******/ 				configurable: false,
/******/ 				enumerable: true,
/******/ 				get: getter
/******/ 			});
/******/ 		}
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = 20);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
var utilFunc = {
  initIconFont: function initIconFont() {
    var domModule = weex.requireModule('dom');
    domModule.addRule('fontFace', {
      'fontFamily': "iconfont",
      'src': "url('http://at.alicdn.com/t/font_404010_f29c7wlkludz33di.ttf')"
    });
  },
  setBundleUrl: function setBundleUrl(jsFile) {
    var bundleUrl = weex.config.bundleUrl;
    console.log(bundleUrl);
    var host = '';
    var path = '';
    var nativeBase = void 0;
    var isAndroidAssets = bundleUrl.indexOf('your_current_IP') >= 0 || bundleUrl.indexOf('file://assets/') >= 0;
    var isiOSAssets = bundleUrl.indexOf('file:///') >= 0 && bundleUrl.indexOf('WeexDemo.app') > 0;
    if (isAndroidAssets) {
      nativeBase = 'file://assets/dist/';
    } else if (isiOSAssets) {
      nativeBase = bundleUrl.substring(0, bundleUrl.lastIndexOf('/') + 1);
    } else {
      var matches = /\/\/([^\/]+?)\//.exec(bundleUrl);
      var matchFirstPath = /\/\/[^\/]+\/([^\/\s]+)\//.exec(bundleUrl);
      if (matches && matches.length >= 2) {
        host = matches[1];
      }
      if (matchFirstPath && matchFirstPath.length >= 2) {
        path = matchFirstPath[1];
      }
      nativeBase = 'http://' + host + '/';
    }
    var h5Base = './index.html?page=';
    // in Native
    var base = nativeBase;
    if (typeof navigator !== 'undefined' && (navigator.appCodeName === 'Mozilla' || navigator.product === 'Gecko')) {
      // check if in weexpack project
      if (path === 'web' || path === 'dist') {
        base = h5Base + '/dist/';
      } else {
        base = h5Base + '';
      }
    } else {
      base = nativeBase + (!!path ? path + '/' : '');
    }

    var newUrl = base + jsFile;
    console.log(newUrl);
    return newUrl;
  },
  getUrlSearch: function getUrlSearch(url, name) {
    var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
    var r = url.slice(url.indexOf('?') + 1).match(reg);
    if (r != null) {
      try {
        return decodeURIComponent(r[2]);
      } catch (_e) {
        return null;
      }
    }
    return null;
  },

  getQueryParam: function getQueryParam(name, url) {
    //URL GET 获取值
    var reg = new RegExp("(^|\\?|&)" + name + "=([^&]*)(\\s|&|$)", "i"),
        Url = url || location.href;
    if (reg.test(Url)) return decodeURI(RegExp.$2.replace(/\+/g, " "));
    return "";
  }
};

exports.default = utilFunc;

/***/ }),
/* 1 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(2)
)

/* script */
__vue_exports__ = __webpack_require__(3)

/* template */
var __vue_template__ = __webpack_require__(4)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "E:\\weex\\multipage_studydy_weex\\src\\assets\\components\\commen\\twoRowList.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-aef1ae26"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 2 */
/***/ (function(module, exports) {

module.exports = {
  "item": {
    "fontSize": "28",
    "color": "#333333",
    "width": "360",
    "paddingBottom": "27",
    "backgroundColor": "#ffffff",
    "marginBottom": "10"
  },
  "product-img": {
    "width": "360",
    "height": "360"
  },
  "couponPriceBox": {
    "flexDirection": "row",
    "paddingLeft": "20",
    "paddingRight": "20",
    "marginTop": "20"
  },
  "text": {
    "paddingLeft": "20",
    "paddingRight": "20",
    "marginTop": "-20"
  },
  "goods-name": {
    "fontSize": "28",
    "color": "#3a3a3a"
  },
  "item_price_box": {
    "paddingRight": "20",
    "paddingLeft": "20",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "price_left": {
    "flex": 1,
    "flexDirection": "row",
    "alignItems": "center"
  },
  "price_right": {
    "flex": 1,
    "flexDirection": "row",
    "alignItems": "center",
    "justifyContent": "flex-end"
  },
  "red": {
    "fontSize": "30",
    "color": "#ff1822"
  },
  "huise": {
    "color": "#999999",
    "textDecoration": "line-through",
    "fontSize": "30"
  }
}

/***/ }),
/* 3 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
  name: "twoRowList",
  props: {
    item: {
      type: Object,
      default: {}
    }
  },
  methods: {
    toDetails: function toDetails(id) {
      this.$emit('toDetails', id);
    }
  }
};

/***/ }),
/* 4 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["item"],
    on: {
      "click": function($event) {
        _vm.toDetails(_vm.item.id)
      }
    }
  }, [_c('div', {
    staticClass: ["list_img_box"]
  }, [_c('image', {
    staticClass: ["product-img"],
    attrs: {
      "src": _vm.item.pic2
    }
  }), (false) ? _c('div', {
    staticClass: ["mask", "flex-row", "flex-y-center"]
  }, [_c('text', {
    staticClass: ["flex-grow-1", "flex-right"]
  }, [_vm._v("预估分佣 :")]), _c('div', {
    staticClass: ["flex-grow-1", "flex-left"],
    staticStyle: {
      marginLeft: "0.08rem"
    }
  }, [_c('text', {
    staticClass: ["redBg"]
  }, [_vm._v("￥" + _vm._s(_vm.item.estimateMoney))])])]) : _vm._e()]), (false) ? _c('div', {
    staticClass: ["couponPriceBox"]
  }, [_c('div', {
    staticClass: ["couponPrice", "flex-grow-1", "flex-row", "flex-y-center"]
  }, [_c('div', {
    staticClass: ["coupon_bg", "flex-grow-0"]
  }), _c('text', {
    staticClass: ["text", "flex-grow-0"]
  }, [_vm._v("￥ " + _vm._s(_vm.item.couponMoney) + "元优惠券")]), _c('div', {
    staticClass: ["coupon_bg", "flex-grow-0", "coupon_bg2"]
  })]), _c('div', {
    staticClass: ["flex-grow-0", "flex-y-bottom"]
  }, [(_vm.item.goodsSrc == 'tmall') ? _c('image', {
    staticStyle: {
      width: "25px",
      height: "25px"
    },
    attrs: {
      "src": "/wxStatic/img/web/tmall.png"
    }
  }) : _vm._e(), (_vm.item.goodsSrc == 'taobao') ? _c('image', {
    staticStyle: {
      width: "25px",
      height: "11px"
    },
    attrs: {
      "src": "/wxStatic/img/web/taobao-s@2x.png"
    }
  }) : _vm._e()])]) : _vm._e(), _c('div', {
    staticClass: ["text"]
  }, [_c('text', {
    staticClass: ["goods-name"]
  }, [_vm._v("\n      " + _vm._s(_vm.item.title) + "\n    ")])]), _c('div', {
    staticClass: ["item_price_box"]
  }, [_c('div', {
    staticClass: ["price_left"]
  }, [_c('text', {
    staticClass: ["red"]
  }, [_vm._v("￥")]), _c('text', {
    staticClass: ["red"]
  }, [_vm._v(_vm._s(_vm.item.price))])]), _c('div', {
    staticClass: ["price_right"]
  }, [_c('text', {
    staticClass: ["huise"]
  }, [_vm._v("￥")]), _c('text', {
    staticClass: ["huise"]
  }, [_vm._v(_vm._s(_vm.item.storePrice))])])])])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 5 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(6)
)

/* script */
__vue_exports__ = __webpack_require__(7)

/* template */
var __vue_template__ = __webpack_require__(8)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "E:\\weex\\multipage_studydy_weex\\src\\assets\\components\\Slider.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-5f2543b7"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 6 */
/***/ (function(module, exports) {

module.exports = {
  "iconfont": {
    "fontFamily": "iconfont"
  },
  "image": {
    "width": "750",
    "height": "270"
  },
  "slider": {
    "width": "750",
    "height": "270"
  },
  "frame": {
    "width": "750",
    "height": "270",
    "position": "relative"
  },
  "indicator": {
    "width": "750",
    "height": "40",
    "itemColor": "#FFFFFF",
    "itemSelectedColor": "#FF0039",
    "itemSize": "12",
    "position": "absolute",
    "bottom": "10",
    "right": "0"
  }
}

/***/ }),
/* 7 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
  props: ["imageList"],
  data: function data() {
    return {};
  },

  methods: {
    onchange: function onchange(event) {}
  }
};

/***/ }),
/* 8 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('slider', {
    staticClass: ["slider"],
    attrs: {
      "autoPlay": "true",
      "interval": "5000",
      "infinite": "true"
    },
    on: {
      "change": _vm.onchange
    }
  }, [_vm._l((_vm.imageList), function(item, index) {
    return _c('div', {
      staticClass: ["frame"]
    }, [_c('image', {
      staticClass: ["image"],
      attrs: {
        "resize": "cover",
        "src": item.pic2
      }
    })])
  }), _c('indicator', {
    staticClass: ["indicator"]
  })], 2)
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 9 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var _sha = __webpack_require__(10);

var _sha2 = _interopRequireDefault(_sha);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

// 引入 弹窗组件
var modal = weex.requireModule('modal');
// 引入 请求数据组件
// 配置API接口地址
// const baseUrl = 'http://www.kuitao8.com/';


var stream = weex.requireModule('stream');
// 身份验证
//import jwtdecode from 'jwt-simple';

// 自定义判断元素类型JS
function toType(obj) {
  return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
}

// 参数过滤函数
function filterNull(o) {
  for (var key in o) {
    if (o[key] === null) {
      delete o[key];
    }
    if (toType(o[key]) === 'string') {
      o[key] = o[key].trim();
    } else if (toType(o[key]) === 'object') {
      o[key] = filterNull(o[key]);
    } else if (toType(o[key]) === 'array') {
      o[key] = filterNull(o[key]);
    }
  }
  return o;
}

// 工具方法
function toParams(obj) {
  var param = "";
  for (var name in obj) {
    if (typeof obj[name] != 'function') {
      param += "&" + name + "=" + encodeURI(obj[name]);
    }
  }
  return param.substring(1);
};

function uncompile(code) {
  code = decodeURI(code);
  var c = String.fromCharCode(code.charCodeAt(0) - code.length);
  for (var i = 1; i < code.length; i++) {
    c += String.fromCharCode(code.charCodeAt(i) - c.charCodeAt(i - 1));
  }
  return c;
}

/**
 * 接口处理函数
 */
function apiStream(method, url, params, successCallback, errorCallback) {
  // 过滤参数
  if (params) {
    params = filterNull(params);
  }

  params.httpparams101 = Math.random().toString(36).substr(2);
  var key = '%C2%81%C3%9C%C3%A1%C3%99%C2%99%C2%A5%C3%B1%C3%B3%C2%9BK%5Eggg%C2%99%C3%8A%C3%8A%C3%8A%C3%97%C2%94KMZoq';
  params.httpparams102 = (0, _sha2.default)(params.httpparams101 + uncompile(key)).toString();

  /*** stream ***/
  if (method === 'GET') {
    // GET 方法
    stream.fetch({
      method: 'GET',
      type: 'json',
      url: url + '?' + toParams(params),
      headers: { Authorization: 'Basic aHRtbC1jbGllbnQtMDAxLSNAITpodG1sLWNsaWVudC0wMDEtI0Ah' }
    }, function (res) {
      if (res.ok) {
        // 解密
        // let currentData = jwtdecode.decode(res.data, 'michahzdee2016', 'HS256');
        // successCallback(currentData);
        successCallback(res.data);
      } else {
        modal.toast({
          message: '请求失败,请检查网络!',
          duration: 2
        });
      }
    });
  } else if (method === 'POST') {
    // POST 方法
    stream.fetch({
      method: 'POST',
      type: 'text',
      url: url,
      headers: {
        'Content-Type': 'application/x-www-form-urlencoded',
        Authorization: 'Basic aHRtbC1jbGllbnQtMDAxLSNAITpodG1sLWNsaWVudC0wMDEtI0Ah'
      },
      body: toParams(params)
    }, function (res) {
      if (res.ok) {
        // 解密
        //let currentData = jwtdecode.decode(res.data, 'michahzdee2016', 'HS256');
        //successCallback(currentData);
        successCallback(res.data);
      } else {
        modal.toast({
          message: '请求失败,请检查网络!',
          duration: 2
        });
      }
    }, function (progress) {
      //
    });
  }
};

module.exports = {
  get: function get(url, params, successCallback, errorCallback) {
    apiStream('GET', url, params, successCallback, errorCallback);
  },
  post: function post(url, params, successCallback, errorCallback) {
    apiStream('POST', url, params, successCallback, errorCallback);
  }
};

/***/ }),
/* 10 */
/***/ (function(module, exports, __webpack_require__) {

;(function (root, factory) {
	if (true) {
		// CommonJS
		module.exports = exports = factory(__webpack_require__(11));
	}
	else if (typeof define === "function" && define.amd) {
		// AMD
		define(["./core"], factory);
	}
	else {
		// Global (browser)
		factory(root.CryptoJS);
	}
}(this, function (CryptoJS) {

	(function (Math) {
	    // Shortcuts
	    var C = CryptoJS;
	    var C_lib = C.lib;
	    var WordArray = C_lib.WordArray;
	    var Hasher = C_lib.Hasher;
	    var C_algo = C.algo;

	    // Initialization and round constants tables
	    var H = [];
	    var K = [];

	    // Compute constants
	    (function () {
	        function isPrime(n) {
	            var sqrtN = Math.sqrt(n);
	            for (var factor = 2; factor <= sqrtN; factor++) {
	                if (!(n % factor)) {
	                    return false;
	                }
	            }

	            return true;
	        }

	        function getFractionalBits(n) {
	            return ((n - (n | 0)) * 0x100000000) | 0;
	        }

	        var n = 2;
	        var nPrime = 0;
	        while (nPrime < 64) {
	            if (isPrime(n)) {
	                if (nPrime < 8) {
	                    H[nPrime] = getFractionalBits(Math.pow(n, 1 / 2));
	                }
	                K[nPrime] = getFractionalBits(Math.pow(n, 1 / 3));

	                nPrime++;
	            }

	            n++;
	        }
	    }());

	    // Reusable object
	    var W = [];

	    /**
	     * SHA-256 hash algorithm.
	     */
	    var SHA256 = C_algo.SHA256 = Hasher.extend({
	        _doReset: function () {
	            this._hash = new WordArray.init(H.slice(0));
	        },

	        _doProcessBlock: function (M, offset) {
	            // Shortcut
	            var H = this._hash.words;

	            // Working variables
	            var a = H[0];
	            var b = H[1];
	            var c = H[2];
	            var d = H[3];
	            var e = H[4];
	            var f = H[5];
	            var g = H[6];
	            var h = H[7];

	            // Computation
	            for (var i = 0; i < 64; i++) {
	                if (i < 16) {
	                    W[i] = M[offset + i] | 0;
	                } else {
	                    var gamma0x = W[i - 15];
	                    var gamma0  = ((gamma0x << 25) | (gamma0x >>> 7))  ^
	                                  ((gamma0x << 14) | (gamma0x >>> 18)) ^
	                                   (gamma0x >>> 3);

	                    var gamma1x = W[i - 2];
	                    var gamma1  = ((gamma1x << 15) | (gamma1x >>> 17)) ^
	                                  ((gamma1x << 13) | (gamma1x >>> 19)) ^
	                                   (gamma1x >>> 10);

	                    W[i] = gamma0 + W[i - 7] + gamma1 + W[i - 16];
	                }

	                var ch  = (e & f) ^ (~e & g);
	                var maj = (a & b) ^ (a & c) ^ (b & c);

	                var sigma0 = ((a << 30) | (a >>> 2)) ^ ((a << 19) | (a >>> 13)) ^ ((a << 10) | (a >>> 22));
	                var sigma1 = ((e << 26) | (e >>> 6)) ^ ((e << 21) | (e >>> 11)) ^ ((e << 7)  | (e >>> 25));

	                var t1 = h + sigma1 + ch + K[i] + W[i];
	                var t2 = sigma0 + maj;

	                h = g;
	                g = f;
	                f = e;
	                e = (d + t1) | 0;
	                d = c;
	                c = b;
	                b = a;
	                a = (t1 + t2) | 0;
	            }

	            // Intermediate hash value
	            H[0] = (H[0] + a) | 0;
	            H[1] = (H[1] + b) | 0;
	            H[2] = (H[2] + c) | 0;
	            H[3] = (H[3] + d) | 0;
	            H[4] = (H[4] + e) | 0;
	            H[5] = (H[5] + f) | 0;
	            H[6] = (H[6] + g) | 0;
	            H[7] = (H[7] + h) | 0;
	        },

	        _doFinalize: function () {
	            // Shortcuts
	            var data = this._data;
	            var dataWords = data.words;

	            var nBitsTotal = this._nDataBytes * 8;
	            var nBitsLeft = data.sigBytes * 8;

	            // Add padding
	            dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);
	            dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = Math.floor(nBitsTotal / 0x100000000);
	            dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 15] = nBitsTotal;
	            data.sigBytes = dataWords.length * 4;

	            // Hash final blocks
	            this._process();

	            // Return final computed hash
	            return this._hash;
	        },

	        clone: function () {
	            var clone = Hasher.clone.call(this);
	            clone._hash = this._hash.clone();

	            return clone;
	        }
	    });

	    /**
	     * Shortcut function to the hasher's object interface.
	     *
	     * @param {WordArray|string} message The message to hash.
	     *
	     * @return {WordArray} The hash.
	     *
	     * @static
	     *
	     * @example
	     *
	     *     var hash = CryptoJS.SHA256('message');
	     *     var hash = CryptoJS.SHA256(wordArray);
	     */
	    C.SHA256 = Hasher._createHelper(SHA256);

	    /**
	     * Shortcut function to the HMAC's object interface.
	     *
	     * @param {WordArray|string} message The message to hash.
	     * @param {WordArray|string} key The secret key.
	     *
	     * @return {WordArray} The HMAC.
	     *
	     * @static
	     *
	     * @example
	     *
	     *     var hmac = CryptoJS.HmacSHA256(message, key);
	     */
	    C.HmacSHA256 = Hasher._createHmacHelper(SHA256);
	}(Math));


	return CryptoJS.SHA256;

}));

/***/ }),
/* 11 */
/***/ (function(module, exports, __webpack_require__) {

;(function (root, factory) {
	if (true) {
		// CommonJS
		module.exports = exports = factory();
	}
	else if (typeof define === "function" && define.amd) {
		// AMD
		define([], factory);
	}
	else {
		// Global (browser)
		root.CryptoJS = factory();
	}
}(this, function () {

	/**
	 * CryptoJS core components.
	 */
	var CryptoJS = CryptoJS || (function (Math, undefined) {
	    /*
	     * Local polyfil of Object.create
	     */
	    var create = Object.create || (function () {
	        function F() {};

	        return function (obj) {
	            var subtype;

	            F.prototype = obj;

	            subtype = new F();

	            F.prototype = null;

	            return subtype;
	        };
	    }())

	    /**
	     * CryptoJS namespace.
	     */
	    var C = {};

	    /**
	     * Library namespace.
	     */
	    var C_lib = C.lib = {};

	    /**
	     * Base object for prototypal inheritance.
	     */
	    var Base = C_lib.Base = (function () {


	        return {
	            /**
	             * Creates a new object that inherits from this object.
	             *
	             * @param {Object} overrides Properties to copy into the new object.
	             *
	             * @return {Object} The new object.
	             *
	             * @static
	             *
	             * @example
	             *
	             *     var MyType = CryptoJS.lib.Base.extend({
	             *         field: 'value',
	             *
	             *         method: function () {
	             *         }
	             *     });
	             */
	            extend: function (overrides) {
	                // Spawn
	                var subtype = create(this);

	                // Augment
	                if (overrides) {
	                    subtype.mixIn(overrides);
	                }

	                // Create default initializer
	                if (!subtype.hasOwnProperty('init') || this.init === subtype.init) {
	                    subtype.init = function () {
	                        subtype.$super.init.apply(this, arguments);
	                    };
	                }

	                // Initializer's prototype is the subtype object
	                subtype.init.prototype = subtype;

	                // Reference supertype
	                subtype.$super = this;

	                return subtype;
	            },

	            /**
	             * Extends this object and runs the init method.
	             * Arguments to create() will be passed to init().
	             *
	             * @return {Object} The new object.
	             *
	             * @static
	             *
	             * @example
	             *
	             *     var instance = MyType.create();
	             */
	            create: function () {
	                var instance = this.extend();
	                instance.init.apply(instance, arguments);

	                return instance;
	            },

	            /**
	             * Initializes a newly created object.
	             * Override this method to add some logic when your objects are created.
	             *
	             * @example
	             *
	             *     var MyType = CryptoJS.lib.Base.extend({
	             *         init: function () {
	             *             // ...
	             *         }
	             *     });
	             */
	            init: function () {
	            },

	            /**
	             * Copies properties into this object.
	             *
	             * @param {Object} properties The properties to mix in.
	             *
	             * @example
	             *
	             *     MyType.mixIn({
	             *         field: 'value'
	             *     });
	             */
	            mixIn: function (properties) {
	                for (var propertyName in properties) {
	                    if (properties.hasOwnProperty(propertyName)) {
	                        this[propertyName] = properties[propertyName];
	                    }
	                }

	                // IE won't copy toString using the loop above
	                if (properties.hasOwnProperty('toString')) {
	                    this.toString = properties.toString;
	                }
	            },

	            /**
	             * Creates a copy of this object.
	             *
	             * @return {Object} The clone.
	             *
	             * @example
	             *
	             *     var clone = instance.clone();
	             */
	            clone: function () {
	                return this.init.prototype.extend(this);
	            }
	        };
	    }());

	    /**
	     * An array of 32-bit words.
	     *
	     * @property {Array} words The array of 32-bit words.
	     * @property {number} sigBytes The number of significant bytes in this word array.
	     */
	    var WordArray = C_lib.WordArray = Base.extend({
	        /**
	         * Initializes a newly created word array.
	         *
	         * @param {Array} words (Optional) An array of 32-bit words.
	         * @param {number} sigBytes (Optional) The number of significant bytes in the words.
	         *
	         * @example
	         *
	         *     var wordArray = CryptoJS.lib.WordArray.create();
	         *     var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
	         *     var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
	         */
	        init: function (words, sigBytes) {
	            words = this.words = words || [];

	            if (sigBytes != undefined) {
	                this.sigBytes = sigBytes;
	            } else {
	                this.sigBytes = words.length * 4;
	            }
	        },

	        /**
	         * Converts this word array to a string.
	         *
	         * @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex
	         *
	         * @return {string} The stringified word array.
	         *
	         * @example
	         *
	         *     var string = wordArray + '';
	         *     var string = wordArray.toString();
	         *     var string = wordArray.toString(CryptoJS.enc.Utf8);
	         */
	        toString: function (encoder) {
	            return (encoder || Hex).stringify(this);
	        },

	        /**
	         * Concatenates a word array to this word array.
	         *
	         * @param {WordArray} wordArray The word array to append.
	         *
	         * @return {WordArray} This word array.
	         *
	         * @example
	         *
	         *     wordArray1.concat(wordArray2);
	         */
	        concat: function (wordArray) {
	            // Shortcuts
	            var thisWords = this.words;
	            var thatWords = wordArray.words;
	            var thisSigBytes = this.sigBytes;
	            var thatSigBytes = wordArray.sigBytes;

	            // Clamp excess bits
	            this.clamp();

	            // Concat
	            if (thisSigBytes % 4) {
	                // Copy one byte at a time
	                for (var i = 0; i < thatSigBytes; i++) {
	                    var thatByte = (thatWords[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;
	                    thisWords[(thisSigBytes + i) >>> 2] |= thatByte << (24 - ((thisSigBytes + i) % 4) * 8);
	                }
	            } else {
	                // Copy one word at a time
	                for (var i = 0; i < thatSigBytes; i += 4) {
	                    thisWords[(thisSigBytes + i) >>> 2] = thatWords[i >>> 2];
	                }
	            }
	            this.sigBytes += thatSigBytes;

	            // Chainable
	            return this;
	        },

	        /**
	         * Removes insignificant bits.
	         *
	         * @example
	         *
	         *     wordArray.clamp();
	         */
	        clamp: function () {
	            // Shortcuts
	            var words = this.words;
	            var sigBytes = this.sigBytes;

	            // Clamp
	            words[sigBytes >>> 2] &= 0xffffffff << (32 - (sigBytes % 4) * 8);
	            words.length = Math.ceil(sigBytes / 4);
	        },

	        /**
	         * Creates a copy of this word array.
	         *
	         * @return {WordArray} The clone.
	         *
	         * @example
	         *
	         *     var clone = wordArray.clone();
	         */
	        clone: function () {
	            var clone = Base.clone.call(this);
	            clone.words = this.words.slice(0);

	            return clone;
	        },

	        /**
	         * Creates a word array filled with random bytes.
	         *
	         * @param {number} nBytes The number of random bytes to generate.
	         *
	         * @return {WordArray} The random word array.
	         *
	         * @static
	         *
	         * @example
	         *
	         *     var wordArray = CryptoJS.lib.WordArray.random(16);
	         */
	        random: function (nBytes) {
	            var words = [];

	            var r = (function (m_w) {
	                var m_w = m_w;
	                var m_z = 0x3ade68b1;
	                var mask = 0xffffffff;

	                return function () {
	                    m_z = (0x9069 * (m_z & 0xFFFF) + (m_z >> 0x10)) & mask;
	                    m_w = (0x4650 * (m_w & 0xFFFF) + (m_w >> 0x10)) & mask;
	                    var result = ((m_z << 0x10) + m_w) & mask;
	                    result /= 0x100000000;
	                    result += 0.5;
	                    return result * (Math.random() > .5 ? 1 : -1);
	                }
	            });

	            for (var i = 0, rcache; i < nBytes; i += 4) {
	                var _r = r((rcache || Math.random()) * 0x100000000);

	                rcache = _r() * 0x3ade67b7;
	                words.push((_r() * 0x100000000) | 0);
	            }

	            return new WordArray.init(words, nBytes);
	        }
	    });

	    /**
	     * Encoder namespace.
	     */
	    var C_enc = C.enc = {};

	    /**
	     * Hex encoding strategy.
	     */
	    var Hex = C_enc.Hex = {
	        /**
	         * Converts a word array to a hex string.
	         *
	         * @param {WordArray} wordArray The word array.
	         *
	         * @return {string} The hex string.
	         *
	         * @static
	         *
	         * @example
	         *
	         *     var hexString = CryptoJS.enc.Hex.stringify(wordArray);
	         */
	        stringify: function (wordArray) {
	            // Shortcuts
	            var words = wordArray.words;
	            var sigBytes = wordArray.sigBytes;

	            // Convert
	            var hexChars = [];
	            for (var i = 0; i < sigBytes; i++) {
	                var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;
	                hexChars.push((bite >>> 4).toString(16));
	                hexChars.push((bite & 0x0f).toString(16));
	            }

	            return hexChars.join('');
	        },

	        /**
	         * Converts a hex string to a word array.
	         *
	         * @param {string} hexStr The hex string.
	         *
	         * @return {WordArray} The word array.
	         *
	         * @static
	         *
	         * @example
	         *
	         *     var wordArray = CryptoJS.enc.Hex.parse(hexString);
	         */
	        parse: function (hexStr) {
	            // Shortcut
	            var hexStrLength = hexStr.length;

	            // Convert
	            var words = [];
	            for (var i = 0; i < hexStrLength; i += 2) {
	                words[i >>> 3] |= parseInt(hexStr.substr(i, 2), 16) << (24 - (i % 8) * 4);
	            }

	            return new WordArray.init(words, hexStrLength / 2);
	        }
	    };

	    /**
	     * Latin1 encoding strategy.
	     */
	    var Latin1 = C_enc.Latin1 = {
	        /**
	         * Converts a word array to a Latin1 string.
	         *
	         * @param {WordArray} wordArray The word array.
	         *
	         * @return {string} The Latin1 string.
	         *
	         * @static
	         *
	         * @example
	         *
	         *     var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
	         */
	        stringify: function (wordArray) {
	            // Shortcuts
	            var words = wordArray.words;
	            var sigBytes = wordArray.sigBytes;

	            // Convert
	            var latin1Chars = [];
	            for (var i = 0; i < sigBytes; i++) {
	                var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;
	                latin1Chars.push(String.fromCharCode(bite));
	            }

	            return latin1Chars.join('');
	        },

	        /**
	         * Converts a Latin1 string to a word array.
	         *
	         * @param {string} latin1Str The Latin1 string.
	         *
	         * @return {WordArray} The word array.
	         *
	         * @static
	         *
	         * @example
	         *
	         *     var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
	         */
	        parse: function (latin1Str) {
	            // Shortcut
	            var latin1StrLength = latin1Str.length;

	            // Convert
	            var words = [];
	            for (var i = 0; i < latin1StrLength; i++) {
	                words[i >>> 2] |= (latin1Str.charCodeAt(i) & 0xff) << (24 - (i % 4) * 8);
	            }

	            return new WordArray.init(words, latin1StrLength);
	        }
	    };

	    /**
	     * UTF-8 encoding strategy.
	     */
	    var Utf8 = C_enc.Utf8 = {
	        /**
	         * Converts a word array to a UTF-8 string.
	         *
	         * @param {WordArray} wordArray The word array.
	         *
	         * @return {string} The UTF-8 string.
	         *
	         * @static
	         *
	         * @example
	         *
	         *     var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);
	         */
	        stringify: function (wordArray) {
	            try {
	                return decodeURIComponent(escape(Latin1.stringify(wordArray)));
	            } catch (e) {
	                throw new Error('Malformed UTF-8 data');
	            }
	        },

	        /**
	         * Converts a UTF-8 string to a word array.
	         *
	         * @param {string} utf8Str The UTF-8 string.
	         *
	         * @return {WordArray} The word array.
	         *
	         * @static
	         *
	         * @example
	         *
	         *     var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
	         */
	        parse: function (utf8Str) {
	            return Latin1.parse(unescape(encodeURIComponent(utf8Str)));
	        }
	    };

	    /**
	     * Abstract buffered block algorithm template.
	     *
	     * The property blockSize must be implemented in a concrete subtype.
	     *
	     * @property {number} _minBufferSize The number of blocks that should be kept unprocessed in the buffer. Default: 0
	     */
	    var BufferedBlockAlgorithm = C_lib.BufferedBlockAlgorithm = Base.extend({
	        /**
	         * Resets this block algorithm's data buffer to its initial state.
	         *
	         * @example
	         *
	         *     bufferedBlockAlgorithm.reset();
	         */
	        reset: function () {
	            // Initial values
	            this._data = new WordArray.init();
	            this._nDataBytes = 0;
	        },

	        /**
	         * Adds new data to this block algorithm's buffer.
	         *
	         * @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.
	         *
	         * @example
	         *
	         *     bufferedBlockAlgorithm._append('data');
	         *     bufferedBlockAlgorithm._append(wordArray);
	         */
	        _append: function (data) {
	            // Convert string to WordArray, else assume WordArray already
	            if (typeof data == 'string') {
	                data = Utf8.parse(data);
	            }

	            // Append
	            this._data.concat(data);
	            this._nDataBytes += data.sigBytes;
	        },

	        /**
	         * Processes available data blocks.
	         *
	         * This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.
	         *
	         * @param {boolean} doFlush Whether all blocks and partial blocks should be processed.
	         *
	         * @return {WordArray} The processed data.
	         *
	         * @example
	         *
	         *     var processedData = bufferedBlockAlgorithm._process();
	         *     var processedData = bufferedBlockAlgorithm._process(!!'flush');
	         */
	        _process: function (doFlush) {
	            // Shortcuts
	            var data = this._data;
	            var dataWords = data.words;
	            var dataSigBytes = data.sigBytes;
	            var blockSize = this.blockSize;
	            var blockSizeBytes = blockSize * 4;

	            // Count blocks ready
	            var nBlocksReady = dataSigBytes / blockSizeBytes;
	            if (doFlush) {
	                // Round up to include partial blocks
	                nBlocksReady = Math.ceil(nBlocksReady);
	            } else {
	                // Round down to include only full blocks,
	                // less the number of blocks that must remain in the buffer
	                nBlocksReady = Math.max((nBlocksReady | 0) - this._minBufferSize, 0);
	            }

	            // Count words ready
	            var nWordsReady = nBlocksReady * blockSize;

	            // Count bytes ready
	            var nBytesReady = Math.min(nWordsReady * 4, dataSigBytes);

	            // Process blocks
	            if (nWordsReady) {
	                for (var offset = 0; offset < nWordsReady; offset += blockSize) {
	                    // Perform concrete-algorithm logic
	                    this._doProcessBlock(dataWords, offset);
	                }

	                // Remove processed words
	                var processedWords = dataWords.splice(0, nWordsReady);
	                data.sigBytes -= nBytesReady;
	            }

	            // Return processed words
	            return new WordArray.init(processedWords, nBytesReady);
	        },

	        /**
	         * Creates a copy of this object.
	         *
	         * @return {Object} The clone.
	         *
	         * @example
	         *
	         *     var clone = bufferedBlockAlgorithm.clone();
	         */
	        clone: function () {
	            var clone = Base.clone.call(this);
	            clone._data = this._data.clone();

	            return clone;
	        },

	        _minBufferSize: 0
	    });

	    /**
	     * Abstract hasher template.
	     *
	     * @property {number} blockSize The number of 32-bit words this hasher operates on. Default: 16 (512 bits)
	     */
	    var Hasher = C_lib.Hasher = BufferedBlockAlgorithm.extend({
	        /**
	         * Configuration options.
	         */
	        cfg: Base.extend(),

	        /**
	         * Initializes a newly created hasher.
	         *
	         * @param {Object} cfg (Optional) The configuration options to use for this hash computation.
	         *
	         * @example
	         *
	         *     var hasher = CryptoJS.algo.SHA256.create();
	         */
	        init: function (cfg) {
	            // Apply config defaults
	            this.cfg = this.cfg.extend(cfg);

	            // Set initial values
	            this.reset();
	        },

	        /**
	         * Resets this hasher to its initial state.
	         *
	         * @example
	         *
	         *     hasher.reset();
	         */
	        reset: function () {
	            // Reset data buffer
	            BufferedBlockAlgorithm.reset.call(this);

	            // Perform concrete-hasher logic
	            this._doReset();
	        },

	        /**
	         * Updates this hasher with a message.
	         *
	         * @param {WordArray|string} messageUpdate The message to append.
	         *
	         * @return {Hasher} This hasher.
	         *
	         * @example
	         *
	         *     hasher.update('message');
	         *     hasher.update(wordArray);
	         */
	        update: function (messageUpdate) {
	            // Append
	            this._append(messageUpdate);

	            // Update the hash
	            this._process();

	            // Chainable
	            return this;
	        },

	        /**
	         * Finalizes the hash computation.
	         * Note that the finalize operation is effectively a destructive, read-once operation.
	         *
	         * @param {WordArray|string} messageUpdate (Optional) A final message update.
	         *
	         * @return {WordArray} The hash.
	         *
	         * @example
	         *
	         *     var hash = hasher.finalize();
	         *     var hash = hasher.finalize('message');
	         *     var hash = hasher.finalize(wordArray);
	         */
	        finalize: function (messageUpdate) {
	            // Final message update
	            if (messageUpdate) {
	                this._append(messageUpdate);
	            }

	            // Perform concrete-hasher logic
	            var hash = this._doFinalize();

	            return hash;
	        },

	        blockSize: 512/32,

	        /**
	         * Creates a shortcut function to a hasher's object interface.
	         *
	         * @param {Hasher} hasher The hasher to create a helper for.
	         *
	         * @return {Function} The shortcut function.
	         *
	         * @static
	         *
	         * @example
	         *
	         *     var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
	         */
	        _createHelper: function (hasher) {
	            return function (message, cfg) {
	                return new hasher.init(cfg).finalize(message);
	            };
	        },

	        /**
	         * Creates a shortcut function to the HMAC's object interface.
	         *
	         * @param {Hasher} hasher The hasher to use in this HMAC helper.
	         *
	         * @return {Function} The shortcut function.
	         *
	         * @static
	         *
	         * @example
	         *
	         *     var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
	         */
	        _createHmacHelper: function (hasher) {
	            return function (message, key) {
	                return new C_algo.HMAC.init(hasher, key).finalize(message);
	            };
	        }
	    });

	    /**
	     * Algorithm namespace.
	     */
	    var C_algo = C.algo = {};

	    return C;
	}(Math));


	return CryptoJS;

}));

/***/ }),
/* 12 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

//export const SHARE_URI_BASE = '/zth2Api';
var SHARE_URI_BASE = exports.SHARE_URI_BASE = 'https://www.zetianhui.xyz/zth2Api';
var URI_LOGIN = exports.URI_LOGIN = SHARE_URI_BASE + '/zthUser/userLogin';

//（6）接口名称：获取小编推荐指定模块的商品列表
var URI_RECOMMENDDETAILS = exports.URI_RECOMMENDDETAILS = SHARE_URI_BASE + '/recommend/goods';
var GOODSDETAILS = exports.GOODSDETAILS = SHARE_URI_BASE + '/good/goodDetails';
var GOODYOULIKE = exports.GOODYOULIKE = SHARE_URI_BASE + '/good/goodYouLike';
var GETTKL = exports.GETTKL = SHARE_URI_BASE + '/coupon/tkl';
var GETBRANDLIST = exports.GETBRANDLIST = SHARE_URI_BASE + '/good/queryBrandId';

//（80）接口名称:查询活动商品
var URI_GETGOODSACTIVITY = exports.URI_GETGOODSACTIVITY = SHARE_URI_BASE + '/good/goodsActivity';

var GETGOODSDETAILS = exports.GETGOODSDETAILS = SHARE_URI_BASE + '/good/goodIdDetail';

//wx分享
var GETWXCONFIG = exports.GETWXCONFIG = SHARE_URI_BASE + '/good/share';

//***************************

//(3)接口名称：获取底部导航
var GETTABBAR = exports.GETTABBAR = SHARE_URI_BASE + '/index/bottomNavigation2';
//（5）接口名称：获取小编推荐列表
var GETRECOMENDLIST = exports.GETRECOMENDLIST = SHARE_URI_BASE + '/recommend/list';
//（10）接口名称：查询商品分类
var GETTOPGOODCATE = exports.GETTOPGOODCATE = SHARE_URI_BASE + '/good/queryGoodCate';

//(7) 接口名称：获取首页分类制定模块的商品列表
var URI_GETLAYOUTTYPELIST = exports.URI_GETLAYOUTTYPELIST = SHARE_URI_BASE + '/good/queryByType';

var GETUSERINFO = exports.GETUSERINFO = SHARE_URI_BASE + '/zthUser/getUser';

//(11)接口名称：根据商品分类ID 查询商品列表
var FENLEILIST = exports.FENLEILIST = SHARE_URI_BASE + "/good/queryByGoodCateId";

var GETBANNER = exports.GETBANNER = SHARE_URI_BASE + '/index/banners';

//good/queryNewAllSearch  （53）接口名称：新版搜索接口
var GETSEARCHRESULT = exports.GETSEARCHRESULT = SHARE_URI_BASE + '/good/queryNewAllSearch';

/**
 * 序号: 43
 * 名称：搜券关键字
 * 请求：GET
 * 说明：获取搜券关键字数据
 */

var GETHOTSKEY = exports.GETHOTSKEY = SHARE_URI_BASE + '/good/queryHotSearch';

var URI_GETMODULE = exports.URI_GETMODULE = SHARE_URI_BASE + '/index/iconsConfig';

//
var URI_INDEXCOLUMNICONCONFIG = exports.URI_INDEXCOLUMNICONCONFIG = SHARE_URI_BASE + '/index/columnIconConfig';

var URI_GETUSERINFO = exports.URI_GETUSERINFO = SHARE_URI_BASE + '/my/security/userInfo';

//(20)接口名称:我的页面查询提现金额 1、2粉丝收益，累计提现
var GETTIXIANMONEY = exports.GETTIXIANMONEY = SHARE_URI_BASE + '/my/security/profit';

//(21)接口名称：我的页面8大模块下发数据

var URI_PAGECONFIG = exports.URI_PAGECONFIG = SHARE_URI_BASE + '/my/pageConfig';

//（64）接口名称：新版品牌 推荐品牌------> 品牌精选页面
var URI_PAGE_BRAND = exports.URI_PAGE_BRAND = SHARE_URI_BASE + '/good/recommendGoodBrand';

//(87)获取答题红包
var URI_GET_ANSWER_HONGBAO = exports.URI_GET_ANSWER_HONGBAO = SHARE_URI_BASE + '/activity/security/getAnswerHongBao';

//发送手机验证码

var GET_Y_Z_CODE = exports.GET_Y_Z_CODE = SHARE_URI_BASE + '/verifyCode/sendVerifyCode';

//(88)接口名称：登录或注册  分享出来的需要填邀请码

var URI_WEB_LOGIN = exports.URI_WEB_LOGIN = SHARE_URI_BASE + '/zthUser/userLoginInPage';

/***/ }),
/* 13 */,
/* 14 */,
/* 15 */,
/* 16 */,
/* 17 */,
/* 18 */,
/* 19 */,
/* 20 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var _index = __webpack_require__(21);

var _index2 = _interopRequireDefault(_index);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

_index2.default.el = '#root';
new Vue(_index2.default);

/***/ }),
/* 21 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(22)
)

/* script */
__vue_exports__ = __webpack_require__(23)

/* template */
var __vue_template__ = __webpack_require__(24)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "E:\\weex\\multipage_studydy_weex\\src\\index.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-03e9db4e"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 22 */
/***/ (function(module, exports) {

module.exports = {
  "title_box": {
    "height": "140",
    "backgroundColor": "#eeeeee",
    "paddingLeft": "28",
    "paddingRight": "28",
    "color": "#ffffff",
    "flexDirection": "row",
    "alignItems": "center"
  },
  "left": {
    "width": "500",
    "height": "100",
    "paddingLeft": "105",
    "flexGrow": 0,
    "alignItems": "center",
    "justifyContent": "center"
  },
  "baoyou_bg": {
    "width": "500",
    "height": "100",
    "position": "absolute",
    "top": 0,
    "left": 0
  },
  "item_title": {
    "fontSize": "26",
    "fontWeight": "500",
    "color": "#ffffff"
  },
  "item_title_desc": {
    "fontSize": "24",
    "color": "#ffffff"
  },
  "item-right_box": {
    "flex": 1,
    "justifyContent": "flex-end",
    "alignItems": "flex-end"
  },
  "item-right_sub": {
    "width": "76",
    "height": "76",
    "backgroundColor": "#66b0ff",
    "borderRadius": "50",
    "color": "#ffffff",
    "flexGrow": 0,
    "alignItems": "center",
    "justifyContent": "center"
  },
  "item-right": {
    "fontSize": "24",
    "color": "#ffffff"
  },
  "like_list_box": {
    "flexWrap": "wrap",
    "flexDirection": "row",
    "justifyContent": "space-between",
    "backgroundColor": "#eeeeee",
    "paddingLeft": "10",
    "paddingRight": "10"
  },
  "scroller": {
    "position": "fixed",
    "top": 0,
    "left": 0,
    "right": 0,
    "bottom": 0
  },
  "moduleBox": {
    "width": "750",
    "borderTopWidth": "22",
    "borderTopColor": "#eeeeee",
    "flexDirection": "row",
    "flexWrap": "wrap",
    "justifyContent": "space-between",
    "paddingTop": "22"
  },
  "module_item": {
    "width": "150",
    "flexGrow": 0,
    "alignItems": "center",
    "marginBottom": "25"
  },
  "module_img": {
    "width": "95",
    "height": "95"
  },
  "module_text": {
    "textAlign": "center",
    "fontSize": "24",
    "color": "#454545",
    "marginTop": "10"
  }
}

/***/ }),
/* 23 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

var _Slider = __webpack_require__(5);

var _Slider2 = _interopRequireDefault(_Slider);

var _twoRowList = __webpack_require__(1);

var _twoRowList2 = _interopRequireDefault(_twoRowList);

var _ajax = __webpack_require__(9);

var _ajax2 = _interopRequireDefault(_ajax);

var _util = __webpack_require__(0);

var _util2 = _interopRequireDefault(_util);

var _shareUri = __webpack_require__(12);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//


var navigator = weex.requireModule('navigator');
exports.default = {
  components: { BannerSlider: _Slider2.default, twoRowList: _twoRowList2.default },
  data: function data() {
    return {

      navList: [],
      bannerList: [],
      tenModule: [],
      indexcolumnIconConfig: [],
      jiujiubaoyoulist: [],
      cnxhList: []
    };
  },
  created: function created() {
    this.getGoodCate();
    this.getbanner();
    this.getModule();
    this.getcolumnIconConfig();
  },

  methods: {
    //10大模块下面的
    getcolumnIconConfig: function getcolumnIconConfig() {
      var _this = this;

      _ajax2.default.get(_shareUri.URI_INDEXCOLUMNICONCONFIG, {}, function (res) {
        console.log('10大模块下面的');
        console.log(res);
        _this.indexcolumnIconConfig = res.data;
        console.log(_this.indexcolumnIconConfig);
        _this.indexcolumnIconConfig.forEach(function (val) {
          if (val.layoutType !== 'activity') {
            var size = val.pageSize;
            //console.log(val.keyForSearch);
            switch (val.keyForSearch) {
              case '99by':
                _this.getLayoutTypeList(val.keyForSearch, size);
                break;
              case 'cnxh':
                _this.getLayoutTypeList(val.keyForSearch, size);
                break;
              default:

            }
          }
        });
      });
    },
    getLayoutTypeList: function getLayoutTypeList(key, size) {
      var _this2 = this;

      _ajax2.default.get(_shareUri.URI_GETLAYOUTTYPELIST, {
        isIndex: 1,
        key: key,
        queryType: '',
        price: '',
        orderByTitle: '',
        orderBy: '',
        page: 1,
        reqPageSize: size
      }, function (res) {
        if (key == '99by') {
          _this2.jiujiubaoyoulist = res.data.data;
        } else if (key == 'cnxh') {
          _this2.cnxhList = res.data.data;
        }
      });
    },

    //navList
    getGoodCate: function getGoodCate() {
      var _this3 = this;

      _ajax2.default.get(_shareUri.GETTOPGOODCATE, {}, function (res) {
        _this3.navList = res.data;
        _this3.navList.forEach(function (val) {
          val.title = val.cateName;
          console.log(val.cateName);
        });
        _this3.navList.unshift({ title: '精选', id: 0 });
      });
    },

    // get banner
    getbanner: function getbanner() {
      var _this4 = this;

      _ajax2.default.get(_shareUri.GETBANNER, {}, function (res) {
        console.log('bannner');
        console.log(res.data);
        _this4.bannerList = res.data;
      });
    },

    //get tenModule
    getModule: function getModule() {
      var _this5 = this;

      _ajax2.default.get(_shareUri.URI_GETMODULE, {}, function (res) {
        _this5.tenModule = res.data;
        console.log(_this5.tenModule);
      });
    },


    /**/
    onToGoodsDetails: function onToGoodsDetails(val) {
      var url = _util2.default.setBundleUrl('pages/goodsDetail.js');
      console.log(url);
      navigator.push({
        url: url,
        animated: 'true'
      });
    }
  }
};

/***/ }),
/* 24 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["Home"]
  }, [_c('scroller', {
    staticClass: ["scroller"]
  }, [_c('banner-slider', {
    attrs: {
      "imageList": _vm.bannerList
    }
  }), _c('div', {
    staticClass: ["moduleBox"]
  }, _vm._l((_vm.tenModule), function(item, index) {
    return _c('div', {
      staticClass: ["module_item"]
    }, [_c('image', {
      staticClass: ["module_img"],
      attrs: {
        "src": item.icon
      }
    }), _c('text', {
      staticClass: ["module_text"]
    }, [_vm._v(_vm._s(item.title))])])
  })), _vm._l((_vm.indexcolumnIconConfig), function(item) {
    return _c('div', {
      staticClass: ["baoyoubox"]
    }, [(item.layoutType !== 'activity') ? _c('div', {
      staticClass: ["title_box"]
    }, [(item.keyForSearch == '99by') ? _c('div', {
      staticClass: ["left"],
      class: {
        'baoyouBg': item.keyForSearch == '99by'
      }
    }, [_c('image', {
      staticClass: ["baoyou_bg"],
      attrs: {
        "src": "https://www.zetianhui.xyz/wxStatic/img/index_category_background_01.png"
      }
    }), _c('div', [_c('text', {
      staticClass: ["item_title"]
    }, [_vm._v(_vm._s(item.title))]), _c('text', {
      staticClass: ["item_title_desc"]
    }, [_vm._v(_vm._s(item.subTitle))])])]) : _vm._e(), (item.keyForSearch == 'cnxh') ? _c('div', {
      staticClass: ["left"],
      class: {
        'baoyouBg': item.keyForSearch == 'cnxh'
      }
    }, [_c('image', {
      staticClass: ["baoyou_bg"],
      attrs: {
        "src": "https://www.zetianhui.xyz/wxStatic/img/index_category_background_02.png"
      }
    }), _c('div', [_c('text', {
      staticClass: ["item_title"]
    }, [_vm._v(_vm._s(item.title))]), _c('text', {
      staticClass: ["item_title_desc"]
    }, [_vm._v(_vm._s(item.subTitle))])])]) : _vm._e(), _vm._m(0, true)]) : _vm._e(), (item.layoutType == 'activity') ? _c('div', {}, [_c('image', {
      staticStyle: {
        width: "750px",
        height: "150px"
      },
      attrs: {
        "src": item.icon
      }
    })]) : _vm._e(), (item.layoutType !== 'activity') ? _c('div', [_vm._l((_vm.jiujiubaoyoulist), function(jiujiuitem, i) {
      return (item.layoutType == 'columnSlide') ? _c('row-list', {
        key: i,
        attrs: {
          "item": jiujiuitem
        }
      }) : _vm._e()
    }), (item.layoutType == 'twoRow') ? _c('div', {
      staticClass: ["like_list_box"]
    }, _vm._l((_vm.cnxhList), function(cnxhitem, i2) {
      return (item.layoutType == 'twoRow') ? _c('two-row-list', {
        key: i2,
        attrs: {
          "item": cnxhitem
        },
        on: {
          "toDetails": _vm.onToGoodsDetails
        }
      }) : _vm._e()
    })) : _vm._e()], 2) : _vm._e()])
  })], 2)])
},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["item-right_box"]
  }, [_c('div', {
    staticClass: ["item-right_sub"]
  }, [_c('text', {
    staticClass: ["item-right"]
  }, [_vm._v("更多")])])])
}]}
module.exports.render._withStripped = true

/***/ })
/******/ ]);